package com.yuanfeng.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yuanfeng.business.entity.ShopClassBindTmpEntity;
import com.yuanfeng.commoms.vo.goods.GdbMerchantGoodsCatVO;
import com.yuanfeng.commoms.vo.shop.ApplyCatVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.yuanfeng.business.entity.ShopClassBindTmp
 */
@Mapper
public interface ShopClassBindTmpMapper extends BaseMapper<ShopClassBindTmpEntity> {

    IPage<ApplyCatVO> queryShopCat(IPage<ApplyCatVO> page , @Param("param") Map<String, Object> param);


    List<ApplyCatVO> queryShopCatDetail(@Param("batchId")String batchId, @Param("shopType")Integer shopType);


    IPage<ApplyCatVO> queryShopCatDetailByPage(IPage<ApplyCatVO> page , @Param("param") Map<String, Object> param);


    GdbMerchantGoodsCatVO selectGoodsCatByPrimaryKey(Integer catId);


    List<ApplyCatVO> querycat(@Param("param")Map<String, Object> map);


    List<String> queryCatName(@Param("catId") Integer catId);



    Integer insertClassBind(@Param("param") Map<String, Object> map);
}




